import Main from "@/components/main";

export default [
  {
    path: "/push",
    name: "push",
    meta: {
      icon: "logo-buffer",
      title: "推送管理"
    },
    component: Main,
    children: [
       {
        path: "/push-config",
         name: "push-config",
        meta: {
          icon: "logo-buffer",
          title: "推送设置"
        },
        icon: "link",
        component: resolve =>
          void require(["@/view/push/push-config/pushConfig.vue"], resolve)
      },
      {
        path: "/push-list",
         name: "push-list",
        meta: {
          icon: "logo-buffer",
          title: "推送模板"
        },
        icon: "link",
        component: resolve =>
          void require(["@/view/push/push-list/pushList.vue"], resolve)
      },
      {
        path: "/push-log",
        name: "push-log",
        meta: {
          icon: "logo-buffer",
          title: "推送日志"
        },
        icon: "link",
        component: resolve =>
          void require(["@/view/push/push-log/pushLogTable.vue"], resolve)
      },
    ]
  }
];
